package com.example.myapplication;

import java.util.Map;

public class Test
{
    public static void main(String[] args) {
        MainActivity activity = new MainActivity();
        Map map = activity.findSuqare();
        String[][] sq = (String[][]) map.get("square");
        String[][] insq = (String[][]) map.get("insquare");
        String[] sq1 = new String[8];
        String[] insq1 = new String[8];
        int index = 0;
        for (int i = 0; i < 21; i++) {
            for (int j = 0; j < 10; j++) {
                if (j == 3 || j == 4 || j == 5 || j == 6)
                {
                    sq1[index] = sq[j][i];
                    insq1[index] = insq[j][i];
                    sq1[index+4] = sq[j][i+1];
                    insq1[index+4] = insq[j][i+1];
                    index++;
                }
            }
            index = 0;
        }
    }
}
